package com.pearadmin.pro.modules.school.domain;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pearadmin.pro.common.web.base.domain.BaseDomain;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * 学校联系人对象 contacts
 *
 * @author ChenJian
 * @date 2021-08-30
 */
@Data
@Alias("Contacts")
@TableName("crm_contacts")
public class Contacts extends BaseDomain
{

    /** 主键 */
    @TableField("id")
    @ApiModelProperty(value = "主键")
    private Long id;

    /** 联系人姓名 */
    @TableField("contacts_name")
    @ApiModelProperty(value = "联系人姓名")
    private String contactsName;

    /** 联系人部门 */
    @TableField("contacts_department")
    @ApiModelProperty(value = "联系人部门")
    private String contactsDepartment;

    /** 职位 */
    @TableField("contacts_position")
    @ApiModelProperty(value = "职位")
    private String contactsPosition;

    /** 所属学校(学校外键) */
    @TableField("sch_id")
    @ApiModelProperty(value = "所属学校(学校外键)")
    private Long schId;
    @TableField("sch_name")
    @ApiModelProperty(value = "所属学校")
    private String schName;

    /** 负责人 */
    @TableField("responsible_person")
    @ApiModelProperty(value = "负责人")
    private String responsiblePerson;

    @TableField("responsible_person_id")
    @ApiModelProperty(value = "负责人")
    private Long responsiblePersonId;

    /** 电话 */
    @TableField("contacts_phone")
    @ApiModelProperty(value = "电话")
    private String contactsPhone;

    /** 邮箱 */
    @TableField("contacts_email")
    @ApiModelProperty(value = "邮箱")
    private String contactsEmail;

    /** 性别 */
    @TableField("contacts_sex")
    @ApiModelProperty(value = "性别")
    private String contactsSex;

    /** 状态 */
    @TableField("contacts_state")
    @ApiModelProperty(value = "状态")
    private String contactsState;

    /** 办公地址 */
    @TableField("contacts_office_address")
    @ApiModelProperty(value = "办公地址")
    private String contactsOfficeAddress;

    /** 逻辑删除 */
    @TableField("deleted")
    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

}
